

$(function(){
	$('#gomoney').click(function(){
		//alert('aaaaa');
		var uid = $('#formmoney').get(0).uid.value;
		var money = Number($('#formmoney').get(0).money.value);
		var bz = $('#formmoney').get(0).bz.value;
		alert(money);
		if(money != 0 &&  !isNaN(money)){
			$.post("ajax/islogin.php",{
				eve: 17
				,uid: uid
				,money: money
				,bz: bz
			},function(data){
				if(data == 1){
					alert('操作成功!')
				}else{
					alert('失败:'+data);
				}
				//$('#logs').text(data);
			},"text")

			
		}else{
			alert('只能是有效的金额!');
		}
		
		
	});
	
	
});

